package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * MemberAttribute entity. @author MyEclipse Persistence Tools
 */

public class MemberAttribute implements java.io.Serializable {

	// Fields

	private Long id;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private Integer orders;
	private Boolean isEnabled;
	private Boolean isRequired;
	private String name;
	private Integer propertyIndex;
	private Integer type;
	private Set memberAttributeOptions = new HashSet(0);

	// Constructors

	/** default constructor */
	public MemberAttribute() {
	}

	/** minimal constructor */
	public MemberAttribute(Timestamp createDate, Timestamp modifyDate,
			Boolean isEnabled, Boolean isRequired, String name, Integer type) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.isEnabled = isEnabled;
		this.isRequired = isRequired;
		this.name = name;
		this.type = type;
	}

	/** full constructor */
	public MemberAttribute(Timestamp createDate, Timestamp modifyDate,
			Integer orders, Boolean isEnabled, Boolean isRequired, String name,
			Integer propertyIndex, Integer type, Set memberAttributeOptions) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.orders = orders;
		this.isEnabled = isEnabled;
		this.isRequired = isRequired;
		this.name = name;
		this.propertyIndex = propertyIndex;
		this.type = type;
		this.memberAttributeOptions = memberAttributeOptions;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Integer getOrders() {
		return this.orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	public Boolean getIsEnabled() {
		return this.isEnabled;
	}

	public void setIsEnabled(Boolean isEnabled) {
		this.isEnabled = isEnabled;
	}

	public Boolean getIsRequired() {
		return this.isRequired;
	}

	public void setIsRequired(Boolean isRequired) {
		this.isRequired = isRequired;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPropertyIndex() {
		return this.propertyIndex;
	}

	public void setPropertyIndex(Integer propertyIndex) {
		this.propertyIndex = propertyIndex;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Set getMemberAttributeOptions() {
		return this.memberAttributeOptions;
	}

	public void setMemberAttributeOptions(Set memberAttributeOptions) {
		this.memberAttributeOptions = memberAttributeOptions;
	}

}